home *** CD-ROM | disk | FTP | other *** search
- Path: EU.net!sun4nl!xs4all!usenet
- From: martijnl@xs4all.nl (Martijn Lievaart)
- Newsgroups: comp.lang.c++
- Subject: Re: Beginner Question..How do I allocate arrays larger than 64K?
- Date: 7 Jan 1996 01:17:50 GMT
- Organization: XS4ALL, networking for the masses
- Message-ID: <4cn6vu$he7@news.xs4all.nl>
- References: <4cjfo4$igp@ixnews8.ix.netcom.com>
- NNTP-Posting-Host: mas01-09.dial.xs4all.nl
- X-Newsreader: WinVN 0.99.6
-
- In article <4cjfo4$igp@ixnews8.ix.netcom.com>, jsmithjr@ix.netcom.co says...
- >
- >Have Borlandc. Can I allocate arrays larger than 64K? I have to use 16
- >bit compiler to deliver product for Air Force systems. Or, do I have to
- >build memory manger to handle multiple segments?
-
- Using Borland, use smart huges (default huge model). Slow but does the trick.
- Other compilers probably don't support this.
- If the size of the elements in the array are a power of two, there is no
- problem with the dumb huge model and it's mucho faster. Maintenance nightmare
- waiting to happen though.
-
- Hope this helps,
- Martijn
-
-